#!/usr/bin/env ruby
#
# This file is only used for RubyScript2Exe compilations

require "rubygems"
require "faster_csv"
require "twitter"
require "rubyscript2exe"

require "#{RUBYSCRIPT2EXE.appdir}/redbook.rb"


exit if RedBook::MODE == 'exe' && RUBYSCRIPT2EXE.is_compiling?

case RedBook::INTERFACE
when 'console'
	RedBook::Interface.new.start
else
	instance_eval "RedBook::#{RedBook::INTERFACE.camelcase}Interface.new.start"
end
